package com.ruoyi.framework.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Setter
@Getter
@ConfigurationProperties(prefix = "ddt.storage")
public class StorageProperties {
    private String storagePath;

    private Minio minio;

    @Setter
    @Getter
    public static class Minio {
        private String prefixUrl;
        private String endpoint;
        private String accessKeyId;
        private String accessKeySecret;
        private String bucketName;
    }
}
